﻿<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <link href="../../static/css/style_admain.css" rel="stylesheet" type="text/css"/>    

</head>

<body>

<div class="top">
    <div class="place">
        <span>位置：</span>
        <ul class="placeul">
            <li><a href="#">首页</a></li>
            <li><a href="#">内容</a></li>
        </ul>
    </div>

    <div class="topright">
        <!--<button id="logoutButton">退出</button>-->
        <button onclick="openNewRoute()">退出</button>

        <div class="user">
            <span>admin</span>
            <i>消息</i>
            <b>5</b>
        </div>

    </div>
</div>

<script>
function openNewRoute() {
    // 使用 parent.location.href 跳转到新路由，parent 表示主页面
    parent.location.href = '/mainInfo';
}
</script>


</body>
</html>
